<div ng-controller='dashboard_dropdown' ng-init="init()">
  <style>
  .dashboard-drop-down {
    padding-top: 10px;
    margin: 2px;
  }
  .dashboard-drop-down .dash-label {
    vertical-align: middle;
    position: relative;
    top: -5px;
    margin-right: 5px;
  }
  .dash-color-dark {
    color: #adafae;
  }
  .dash-color-light {
    color: #fff;
  }
  </style>
  <div class="dashboard-drop-down">
    <a id="dash_label_id"><span class="dash-label dash-color-{{dashboard.current.style}}">{{panel.label}}</span></a>
    <select id="dashboard_dropdown" ng-model="selectedDashboard"
      ng-options="dash for dash in panel.dashboards | orderBy:'name'"
      ng-change="selectAction()">
    </select>
  </div>
</div>
